package com.moyu.article.domain.comment.vo;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author 赵彦博
 * @Date 2025/4/1 15:26
 */
@Data
public class CommentListVO {

    private Long commentId;
    private Long postId;
    private String postTitle;
    private Long userId;
    private String nickName;
    private String avatar;
    private Long parentId;
    private String content;
    private Integer likeCount;
    private Boolean isLiked;
    private Integer state;
    private LocalDateTime createTime;
    private Boolean isTop;
    private List<CommentListVO> children;

    // 前端控制字段
    private Boolean showReplyForm = false;
    private String replyContent;

}
